This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 199
handle OperationNotAllowed errors when creating VMSS #614
Merged
bmc-msft
merged 11 commits into
microsoft:main
from
bmc-msft:handle-vmss-create-operation-not-allowed
Mar 2, 2021
Merged
handle OperationNotAllowed errors when creating VMSS #614
bmc-msft
merged 11 commits into
microsoft:main
from
bmc-msft:handle-vmss-create-operation-not-allowed
Mar 2, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Catch errors from Azure as scaleset creation failures rather than exceptions. This failure happens when Azure disallows creation of scalesets. This can be triggered by quota issues. As an example, when the subscription doesn't have quota, users will see this error: ResourceExistsError: (OperationNotAllowed) Operation could not be completed as it results in exceeding approved Total Regional Cores quota. Additional details - Deployment Model: Resource Manager, Location: eastus2, Current Limit: 100, Current Usage: 100, Additional Required: 20, (Minimum) New Limit Required: 120. Submit a request for Quota increase at <REDACTED> by specifying parameters listed in the ‘Details’ section for deployment to succeed. Please read more about quota limits at https://docs.microsoft.com/en-us/azure/azure-supportability/regional-quota-requests.
ranweiler
approved these changes
Mar 1, 2021
Hello @bmc-msft! Because this pull request has the Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 18 hours, a condition that will be fulfilled in about 11 hours 20 minutes. No worries though, I will be back when the time is right! 😉 p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Catch errors from Azure as scaleset creation failures rather than exceptions.
This failure happens when Azure disallows creation of scalesets. This can be triggered by quota issues.
As an example, when the subscription doesn't have quota, users will see this error:
ResourceExistsError: (OperationNotAllowed) Operation could not be completed as it results in exceeding approved Total Regional Cores quota. Additional details - Deployment Model: Resource Manager, Location: eastus2, Current Limit: 100, Current Usage: 100, Additional Required: 20, (Minimum) New Limit Required: 120. Submit a request for Quota increase at by specifying parameters listed in the ‘Details’ section for deployment to succeed. Please read more about quota limits at https://docs.microsoft.com/en-us/azure/azure-supportability/regional-quota-requests.